<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:s="http://jboss.com/products/seam/taglib">

<body>
<h1>Page C</h1>
<h3>Showing the person that came from the page B, showing it
through methods of the SEAM component, where it is injected.</h3>

<h:form>
	<h3>Get person from conversation:</h3>
	<b> Person Name: #{pagecAction.retrievePersonName()}<br />
	Person Email: #{pagecAction.retrievePersonEmail()}<br />
	</b>
	<h3>Refresh</h3>
	<h:commandButton action="#{pagecAction.doNothing()}"
		value="h:commandButton Postback" />
	<br />
	<a4j:commandButton action="#{pagecAction.doNothing()}"
		value="a4j:commandButton Postback" />
	<br />
	<s:button action="#{pagecAction.doNothing()}" value="s:button Postback" />
	<br />
	<h:commandLink action="#{pagecAction.doNothing()}"
		value="h:commandLink Postback" />
	<br />
	<a4j:commandLink action="#{pagecAction.doNothing()}"
		value="a4j:commandLink Postback" />
	<br />
	<s:link action="#{pagecAction.doNothing()}" value="s:link Postback" />
	<br />



	<h3>Render pageA - @End</h3>
	<h:commandButton action="#{pagecAction.rule1()}"
		value="h:commandButton" />
	<br />
	<a4j:commandButton action="#{pagecAction.rule1()}"
		value="h:commandButton" />
	<br />
	<s:button action="#{pagecAction.rule1()}" value="s:button" />
	<br />
	<h:commandLink action="#{pagecAction.rule1()}" value="h:commandLink" />
	<br />
	<a4j:commandLink action="#{pagecAction.rule1()}"
		value="a4j:commandLink" />
	<br />
	<s:link action="#{pagecAction.rule1()}" value="s:link" />
	<br />

	<h3>Render pageA - &lt;end-conversation&gt;</h3>
	<h:commandButton action="#{pagecAction.rule2()}"
		value="h:commandButton" />
	<br />
	<a4j:commandButton action="#{pagecAction.rule2()}"
		value="h:commandButton" />
	<br />
	<s:button action="#{pagecAction.rule2()}" value="s:button" />
	<br />
	<h:commandLink action="#{pagecAction.rule2()}" value="h:commandLink" />
	<br />
	<a4j:commandLink action="#{pagecAction.rule2()}"
		value="a4j:commandLink" />
	<br />
	<s:link action="#{pagecAction.rule2()}" value="s:link" />
	<br />


	<h3>Render pageB</h3>
	<h:commandButton action="#{pagecAction.rule3()}"
		value="h:commandButton" />
	<br />
	<a4j:commandButton action="#{pagecAction.rule3()}"
		value="h:commandButton" />
	<br />
	<s:button action="#{pagecAction.rule3()}" value="s:button" />
	<br />
	<h:commandLink action="#{pagecAction.rule3()}" value="h:commandLink" />
	<br />
	<a4j:commandLink action="#{pagecAction.rule3()}"
		value="a4j:commandLink" />
	<br />
	<s:link action="#{pagecAction.rule3()}" value="s:link" />
	<br />
</h:form>

</body>
</html>